Skip to content

chore(deps): update Android SDK Stubs to v8.34.0#5765

Closed
github-actions[bot] wants to merge 2 commits intodeps/scripts/update-android.shfrom
deps/scripts/update-android-stubs.sh
Closed

chore(deps): update Android SDK Stubs to v8.34.0#5765
github-actions[bot] wants to merge 2 commits intodeps/scripts/update-android.shfrom
deps/scripts/update-android-stubs.sh

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Mar 5, 2026

Bumps scripts/update-android-stubs.sh from 8.33.0 to 8.34.0.

Auto-generated by a dependency updater.

Changelog

8.34.0

Features

  • Add scope-level attributes API (#5118) via (#5148)
    • Automatically include scope attributes in logs and metrics (#5120)
    • New APIs are Sentry.setAttribute, Sentry.setAttributes, Sentry.removeAttribute
  • Support collections and arrays in attribute type inference (#5124)
  • Add support for SENTRY_SAMPLE_RATE environment variable / sample-rate property (#5112)
  • Create sentry-opentelemetry-otlp and sentry-opentelemetry-otlp-spring modules for combining OpenTelemetry SDK OTLP export with Sentry SDK (#5100)
    • OpenTelemetry is configured to send spans to Sentry directly using an OTLP endpoint.
    • Sentry only uses trace and span ID from OpenTelemetry (via OpenTelemetryOtlpEventProcessor) but will not send spans through OpenTelemetry nor use OpenTelemetry Context for Scopes propagation.
    • See the OTLP setup docs for Java and Spring Boot for installation and configuration instructions.
  • Add screenshot masking support using view hierarchy (#5077)
    • Masks sensitive content (text, images) in error screenshots using the same view hierarchy approach as Session Replay
    • Requires the sentry-android-replay module to be present at runtime for masking to work
    • Enable via code:
      SentryAndroid.init(context) { options ->
          options.isAttachScreenshot = true
          options.screenshot.setMaskAllText(true)
          options.screenshot.setMaskAllImages(true)
          // Or mask specific view classes
          options.screenshot.addMaskViewClass("com.example.MyCustomView")
      }
    • Or via AndroidManifest.xml:
      <meta-data android:name="io.sentry.attach-screenshot" android:value="true" />
      <meta-data android:name="io.sentry.screenshot.mask-all-text" android:value="true" />
      <meta-data android:name="io.sentry.screenshot.mask-all-images" android:value="true" />
  • The ManifestMetaDataReader now read the DIST (#5107)

Fixes

  • Fix attribute type detection for Long, Short, Byte, BigInteger, AtomicInteger, and AtomicLong being incorrectly inferred as double instead of integer (#5122)
  • Remove AndroidRuntimeManager StrictMode relaxation to prevent ANRs during SDK init (#5127)
    • IMPORTANT: StrictMode violations may appear again in debug builds. This is intentional to prevent ANRs in production releases.
  • Fix crash when unregistering SystemEventsBroadcastReceiver with try-catch block. (#5106)
  • Use peekDecorView instead of getDecorView in SentryGestureListener to avoid forcing view hierarchy construction (#5134)
  • Log an actionable error message when Relay returns HTTP 413 (Content Too Large) (#5115)
    • Also switch the client report discard reason for all HTTP 4xx/5xx errors (except 429) from network_error to send_error
  • Trim DSN string before parsing to avoid URISyntaxException caused by trailing whitespace (#5113)
  • Reduce allocations and bytecode instructions during Sentry.init (#5135)

Dependencies

@github-actions github-actions bot added the dependencies Pull requests that update a dependency file label Mar 5, 2026
@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-android-stubs.sh branch from 80ab352 to 5002929 Compare March 5, 2026 08:51
@github-actions
Copy link
Contributor Author

github-actions bot commented Mar 5, 2026

Semver Impact of This PR

None (no version bump detected)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


  • chore(deps): update Android SDK Stubs to v8.34.0 by github-actions[bot] in #5765
  • chore(deps): update Android SDK to v8.34.0 by github-actions in #5760

🤖 This preview updates automatically when you update the PR.

@github-actions
Copy link
Contributor Author

github-actions bot commented Mar 5, 2026

Fails
🚫 Pull request is not ready for merge, please add the "ready-to-merge" label to the pull request

Generated by 🚫 dangerJS against 23d0687

@antonis antonis marked this pull request as draft March 5, 2026 08:53
@antonis antonis added the Blocked label Mar 5, 2026
Copy link
Contributor

@antonis antonis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Already merged the changes on #5760

@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-android-stubs.sh branch 5 times, most recently from 40be408 to 2215ef6 Compare March 5, 2026 12:01
@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-android-stubs.sh branch from 2215ef6 to 333e6f8 Compare March 5, 2026 12:48
@lucas-zimerman lucas-zimerman changed the base branch from main to deps/scripts/update-android.sh March 5, 2026 19:51
@lucas-zimerman
Copy link
Collaborator

@antonis it's safe to point this PR to the Android dependency branch

@antonis
Copy link
Contributor

antonis commented Mar 9, 2026

@antonis it's safe to point this PR to the Android dependency branch

@lucas-zimerman This is a duplicate stubs bump PR since I already merged #5761 on the Android branch. I later realised that there was the version mismatch and didn't proceed with the bump.

@lucas-zimerman
Copy link
Collaborator

See #5807 (review)

@antonis antonis deleted the deps/scripts/update-android-stubs.sh branch March 13, 2026 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Blocked dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants